import java.awt.EventQueue;

public class Poker{
    
    public static void main(String[] args){
        
       
        final Start start = new Start();
        final Controller kontroler = new Controller(start);
        start.getController(kontroler);
        EventQueue.invokeLater(new Runnable() {
            public void run() {
                try {
                    Gra game = new Gra(kontroler,start);
                    kontroler.getGame(game);
                    game.frame.setVisible(true);
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        });  
        
        
    }
    
}